//
//  NGSNoodle.h
//  demo_3
//
//  Created by 才 陈 on 12-4-1.
//  Copyright (c) 2012年 sjtu. All rights reserved.
//
#import "commons.h"
#import "NGSNoodle.h"
#import "NoodleType.h"
#import "NGSUtils.h"

#ifndef demo_3_NGSNoodle_h
#define demo_3_NGSNoodle_h

/*
 typedef enum {
 TYPE_NOODLE=10,
 TYPE_RADISH_NOODLE=15,
 TYPE_CUCUMBER_NOODLE=15,
 TYPE_BEEF_NOODLE=25,
 TYPE_MUTTON_NOODLE=25,
 TYPE_RADISH_BEEF_NOODLE=35,
 TYPE_CUCUMBER_MUTTON_NOODLE=35,
 TYPE_RADISH_MUTTON_NOODLE=40,
 TYPE_CUCUMBER_BEEF_NOODLE=40
 } NoodleType;
 */

@interface NGSNoodle : NSObject {
@private
    NSString *name;
    NoodleType *type;
    int count;//该类型面削成的碗数
}

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NoodleType *type;
@property (assign) int count;

-(id)init:(NoodleType *) noodleType WithCount:(int)cnt;
-(void) addCount:(int)step;

+(NSDictionary *) NOODLE_TYPES;
+(int) totalScore;//
+(int) maxScore;
+(void) updateMaxScore:(int)score;
@end

#endif
